package com.houtai.bean.vo.article;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value="文章详情", description="文章详情")
public class ArticleDetail {

    /**
     * 文章标示
     */
    @ApiModelProperty(value="文章标示", name="id")
    private Integer id;

    /**
     * 文章名称
     */
    @ApiModelProperty(value="文章名称", name="arti_name")
    private String arti_name;


    /**
     * 创建时间
     */
    @ApiModelProperty(value="时间戳 精确到毫秒", name="cret_date")
    private Long cret_date;

    /**
     * 发布人
     */
    @ApiModelProperty(value="发布人", name="release_people")
    private String release_people;
    /**
     * 评论数
     */
    @ApiModelProperty(value="评论数", name="comments_size")
    private Integer comments_size;
    /**
     * 评论人数
     */
    @ApiModelProperty(value="评论人数(参与人数)", name="comments_people_size")
    private Integer comments_people_size;
    /**
     * 文章内容
     */
    @ApiModelProperty(value="文章内容", name="arti_content")
    private String arti_content;
    /**
     * 是否可评论0是1否
     */
    @ApiModelProperty(value="是否可评论0是1否", name="is_comments")
    private Integer is_comments;

    public Integer getIs_comments() {
        return is_comments;
    }

    public void setIs_comments(Integer is_comments) {
        this.is_comments = is_comments;
    }

    public String getArti_name() {
        return arti_name;
    }

    public void setArti_name(String arti_name) {
        this.arti_name = arti_name;
    }

    public Long getCret_date() {
        return cret_date;
    }

    public void setCret_date(Date cret_date) {
        this.cret_date = cret_date.getTime();
    }

    public String getRelease_people() {
        return release_people;
    }

    public void setRelease_people(String release_people) {
        this.release_people = release_people;
    }

    public Integer getComments_size() {
        return comments_size;
    }

    public void setComments_size(Integer comments_size) {
        this.comments_size = comments_size;
    }

    public Integer getComments_people_size() {
        return comments_people_size;
    }

    public void setComments_people_size(Integer comments_people_size) {
        this.comments_people_size = comments_people_size;
    }

    public String getArti_content() {
        return arti_content;
    }

    public void setArti_content(String arti_content) {
        this.arti_content = arti_content;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}